package com.weiyi.weiman.domain.status;

/**
 * @Author
 * @Date 2021/5/3 下午9:26
 * @Description
 * @Version 1.0
 **/
public enum TokenStatus {

    TOKEN_ERROR(4001, "认证出错"),
    TOKEN_EXPIRE(4002, "认证过期"),
    ACCESS_TOKEN_ERROR(4002, "通行令牌异常"),
    REFRESH_TOKEN_ERROR(4003, "刷新令牌异常");

    public int code;
    public String message;

    TokenStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
